package cn.bellychang.anemicVsdomain.ddd;

import lombok.*;
import org.joda.money.Money;

import java.util.Date;

/**
 * DDD 值对象
 * @author ChangLiang
 * @date 2020/5/18
 */
@Data
@Builder
public class RevenueRecognition {

    private Long id;

    private Long contractId;

    /**
     * 应收的金额
     */
    private Money amount;

    /**
     * 应收到金额的日期
     */
    private Date recognizedDate;

}
